﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;
using DuncanDAL;

namespace BLL.BaseDictionaryService
{
    public class QueryEarningCategoryTransaction:ICommand
    {
        private IList<D_EarningCategoryObject> resultList;

        public IList<D_EarningCategoryObject> ResultList
        {
            get { return resultList; }
        }

        #region ICommand 成员

        public void Execute()
        {
            EarningCategoryDataService objEarningCategoryDataService = new EarningCategoryDataService();
            resultList = objEarningCategoryDataService.QueryAll();
        }

        #endregion
    }
}
